package com.itany.corejava.code07_面向对象.lianxi3;

/**
 * @author MissChen
 * @version 1.0
 * @date 2023 年11月07日 10:41
 */
public class Manager extends Employee{
    public final String vehicle="地铁";

    public Manager(String name, int age, String gender, double salary) {
        super(name, age, gender, salary);
    }

    @Override
    public void show() {
        System.out.println(getName()+"上班的交通工具是"+vehicle);
    }
}
